<div class="bjui-pageContent">
    <form action="{:U('edit')}" class="pageForm" data-toggle="validate" data-callback="saveCheckNote" method="post">
        <!-- 菜单id号 -->
        <input type="hidden" name="order_id" value="{$arr.order_id}">
            <tbody>
                <tr>
                    <td>
                        <label class="control-label x90">审单备注：</label>
						<textarea name="check_note" value="{$arr.check_note}" cols="20" rows="4"
                                          data-toggle="autoheight">{$arr.check_note}</textarea>
                    </td>
                </tr>
            </tbody>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close">关闭</button></li>
        <li><button type="submit" class="btn-default" data-callback="saveInvoice">保存</button></li>
    </ul>
</div>
<script>
    /**
     * saveInvoice  保存发票数据回调
     * @param data
     */
    function saveCheckNote(data){
        console.log(data);
        if(data && data.statusCode == 200){
            $.CurrentDialog.dialog('closeCurrent');     // 关闭当前弹窗
            $.CurrentNavtab.find("#checkNote{$arr.order_id}").html(data.data.html);
        }else{
            $(this).alertmsg('error', data.message);
        }
    }

</script>